def insert():
    stdList = []
    mark = True
    while mark:
        id = input("请输入ID：")
        if not id:
            break
        name = input("请输入名字：")
        if not name:
            break
        try:
            english = int(input("请输入英文成绩："))
            python = int(input"请输入python成绩：")
        except:
            print("输入无效，不是整数，请重新输入：")
            continue
        #将输入大的学生信息保存到字典中
        student = {"id":id,"name":name,"english",english:"python":python}
        stdList.append(student)
        inputMark = input("是否继续添加？(y/n)：")
        if inputMark == "y":
            mark = True
        else:
            mark = False
        save(stdList)
        print("信息录入完毕：")